package com.code.exam.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;


@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("考试查询返回数据格式")
public class EPageResultVO implements Serializable {

    @ApiModelProperty("考试id")
    private Long examId;

    @ApiModelProperty("考试名称")
    private String title;

    @ApiModelProperty("考试开始时间")
    private LocalDateTime startTime;

    @ApiModelProperty("考试截止时间")
    private LocalDateTime endTime;

    @ApiModelProperty("考试状态：UPCOMING/INPROGRESS/ENDED")
    private String status;
    @ApiModelProperty("创建者id")
    private Long createdBy;
}
